package com.mengxiangnongfu.service;

import com.mengxiangnongfu.domain.OperLog;
import com.baomidou.mybatisplus.extension.service.IService;
import com.mengxiangnongfu.dto.OperLogDto;
import com.mengxiangnongfu.vo.DataGridView;

public interface OperLogService extends IService<OperLog> {

    /**
     * 插入操作日志
     *
     * @param operLog
     * @return
     */
    int insertOperLog(OperLog operLog);

    /**
     * 查询全部日志
     *
     * @param operLogDto
     * @return
     */
    DataGridView loadOperLogByPage(OperLogDto operLogDto);

    /**
     * 根据编号删除日志
     *
     * @param ids
     * @return
     */
    int removeOperLogByIds(Long[] ids);

    /**
     * 删除全部日志
     *
     * @return
     */
    int clearAllOperLogs();


}
